package com.winai.launcher.bean.responseEntity;

import com.winai.launcher.base.BaseEntity;

import java.util.List;

public class ScreenSaveEntity extends BaseEntity {

    /**
     * data : {"carouselSetVo":{"id":"1228157737710112770","rotationTime":"5","rotationMode":"倒序","type":"1"},"screenSaverVoList":[{"id":"1230006985051811841","picturePath":"http://116.236.22.178:9002/upload/screenSaver/位图_u895.png","pictureName":"位图_u895"},{"id":"1230007020032307201","picturePath":"http://116.236.22.178:9002/upload/screenSaver/位图_u903.png","pictureName":"位图_u903"}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * carouselSetVo : {"id":"1228157737710112770","rotationTime":"5","rotationMode":"倒序","type":"1"}
         * screenSaverVoList : [{"id":"1230006985051811841","picturePath":"http://116.236.22.178:9002/upload/screenSaver/位图_u895.png","pictureName":"位图_u895"},{"id":"1230007020032307201","picturePath":"http://116.236.22.178:9002/upload/screenSaver/位图_u903.png","pictureName":"位图_u903"}]
         */

        private CarouselSetVoBean carouselSetVo;
        private List<ScreenSaverVoListBean> screenSaverVoList;

        public CarouselSetVoBean getCarouselSetVo() {
            return carouselSetVo;
        }

        public void setCarouselSetVo(CarouselSetVoBean carouselSetVo) {
            this.carouselSetVo = carouselSetVo;
        }

        public List<ScreenSaverVoListBean> getScreenSaverVoList() {
            return screenSaverVoList;
        }

        public void setScreenSaverVoList(List<ScreenSaverVoListBean> screenSaverVoList) {
            this.screenSaverVoList = screenSaverVoList;
        }

        public static class CarouselSetVoBean {
            /**
             * id : 1228157737710112770
             * rotationTime : 5
             * rotationMode : 倒序
             * type : 1
             */

            private String id;
            private String rotationTime;
            private String rotationMode;
            private String type;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getRotationTime() {
                return rotationTime;
            }

            public void setRotationTime(String rotationTime) {
                this.rotationTime = rotationTime;
            }

            public String getRotationMode() {
                return rotationMode;
            }

            public void setRotationMode(String rotationMode) {
                this.rotationMode = rotationMode;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }
        }

        public static class ScreenSaverVoListBean {
            /**
             * id : 1230006985051811841
             * picturePath : http://116.236.22.178:9002/upload/screenSaver/位图_u895.png
             * pictureName : 位图_u895
             * sort : 0
             */

            private String id;
            private String picturePath;
            private String pictureName;
            private String sort;//排序，0为置顶。1为随机
            private int pictureId;
            private boolean isChecked = false;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getPictureId() {
                return pictureId;
            }

            public void setPictureId(int pictureId) {
                this.pictureId = pictureId;
            }

            public String getPicturePath() {
                return picturePath;
            }

            public void setPicturePath(String picturePath) {
                this.picturePath = picturePath;
            }

            public String getPictureName() {
                return pictureName;
            }

            public void setPictureName(String pictureName) {
                this.pictureName = pictureName;
            }

            public String getSort() {
                return sort;
            }

            public void setSort(String sort) {
                this.sort = sort;
            }

            public boolean isChecked() {
                return isChecked;
            }

            public void setChecked(boolean checked) {
                isChecked = checked;
            }
        }
    }
}
